
<h1><?php echo $title; ?></h1>
<div class="noprint">
<?php if (isset($notice) || $notice = $this->session->flashdata('notification')):?>
<p class="notice"><?php echo $notice;?></p>
<?php endif;?>

<div class="adminbox">
<?php 
if($this->user->level['adozioni'] >= LEVEL_EDIT) 
{
    echo anchor('adozioni/anagrafica/adozioni/edit/' . $row['id'], __("Modifica", $module));
	echo " | ";
    echo anchor('adozioni/anagrafica/adozioni/stampa/' . $row['id'], __("Stampa scheda", $module), array('target' => '_blank')); 
}
?>
</div>
  <table class="form" border="0" cellpadding="1" cellspacing="1">
    <tr>
      <th>Id scheda </th>
      <td class="item1"><strong><?php echo $row['id'] ?></strong></td>
    </tr>
    <tr>
      <th><strong>Data Inserimento </strong></th>
      <td class="item1"><?php echo data($row['data_inserimento']) ?></td>
    </tr>
    <tr>
      <th><strong>Sostenitore</strong></th>
      <td class="item1"><?php echo anchor('adozioni/anagrafica/sostenitori/show/' . $row['id_sostenitore'], $row['sostenitore']) ?></td>
    </tr>
    <tr>
      <th><strong>Assistito</strong></th>
      <td class="item1"><?php echo anchor('adozioni/anagrafica/assistiti/show/'. $row['id_assistito'], $row['assistito']) ?></td>
    </tr>
    <tr>
      <th><strong>Tipo Sostegno </strong></th>
      <td class="item1"><?php echo $row['tiposostegno'] ?></td>
    </tr>
    <tr>
      <th><strong>Stato</strong></th>
      <td class="item1"><strong>
        <?php echo $row['stato'] ?></strong></td>
    </tr>
    <tr>
      <th><strong>Data Inizio </strong></th>
      <td class="item1"><?php echo data($row['data_inizio']) ?></td>
    </tr>
    <tr>
      <th><strong>Data Fine </strong></th>
      <td class="item1"><?php echo data($row['data_fine']) ?></td>
    </tr>
    <tr>
      <th><strong>Ultimo Contatto </strong></th>
      <td class="item1"><?php echo data($row['ultimo_contatto']) ?></td>
    </tr>
    <tr>
      <th><strong>Note</strong></th>
      <td class="item1"><?php echo nl2br($row['note']) ?></td>
    </tr>
    <tr>
      <th><strong>Totali Anni </strong></th>
      <td class="item1"><?php echo nl2br($row['totali_anni']) ?></td>
    </tr>
  </table>
  <br>